#import <UIKit/UIKit.h>

@class MainMenuController;
@class CoinGame;
@class CoinGameMenuController;

@interface CoinGameViewController : UIViewController {

	UIView *menuView;   //main menu for game
	UIView *gameSelectView;  //modes display 
	UIView *about;    //tutoiral display
	UISegmentedControl *difficultySwitch;     //switch to pick difficulty
	UISegmentedControl *increaseSwitch;    //switch to make difficulty incrase or not
	MainMenuController *mainMenuController;
	CoinGame *coinGame;
	int mode;
	int difficulty;
	int d;
	int increase;
	int i;
}
//@property UIView *lView;
@property int mode;
@property int d;
@property int increase;
@property int i;

//@property (retain, nonatomic) MainMenuController *mainMenuController;
@property (retain, nonatomic) CoinGame *coinGame;
@property (retain, nonatomic) IBOutlet UISegmentedControl *difficultySwitch;
@property (retain, nonatomic) IBOutlet UISegmentedControl *increaseSwitch;
@property (nonatomic, retain) IBOutlet UIView *menuView;
@property (nonatomic, retain) IBOutlet UIView *gameSelectView;
@property (nonatomic, retain) IBOutlet UIView *about;

//-(IBAction)openMainMenu:(id)sender;
-(IBAction)startGame:(id)sender;     //start game
-(IBAction)backOne:(id)sender;     //go back 
-(IBAction)checkAbout:(id)sender;   //check tutorial
- (IBAction)returnfromAbout:(id)sender;   //return from tutorial
-(IBAction)setOptions:(id)sender;   //go to options
- (IBAction)closeOptions:(id)sender;   //go back to teh main game menu
-(IBAction)pickGame:(id)sender;    //go to the menu to pick games
-(IBAction)closePickGame:(id)sender;   //go back to the main game meun
- (IBAction)setDifficulty:(id)sender; //use to set difficulty
- (IBAction)increaseToggle:(id)sender; //use to set if difficuly increase


@end


